/*
 * John Quinn
 * Lindsey Sansone
 * Robert Wirthman
 * hero.cpp
 * 2/26/12
*/
#include <iostream>
#include "hero.h"
#include "character.h"
using namespace std;
Hero::Hero(int x,int y,int h,int s,int l) : Character(x,y,h,s)
{
  setLives(l);
}
int Hero::getLives() const
{
  return lives;
}
void Hero::setLives(int l)
{
  lives=l;
}
void Hero::print()
{
  cout<<"Lives: "<<getLives()<<endl;
  cout<<"Health: "<<getHealth()<<endl;
  cout<<"X-coordinate: "<<getPosition().getX()<<endl;
  cout<<"Y-coordinate: "<<getPosition().getY()<<endl;
}
